package com.iot.protocol.iec104.bean;
import lombok.Data;

@Data
public class WeatherParameters {
    private Integer id;
    private Float temperature;
    private Float humidity;
    private String time_stamp;
    private Float atmospheric_pressure;
    private Float rainfall;
    private Float wind_speed;
    private Float wind_direction;
    private Float gust;

    public WeatherParameters(float temperature, float humidity,float atmosphericPressure, float rainfall, float windSpeed, float windDirection, float gust, String timeStamp) {
        this.temperature= temperature;
        this.humidity=humidity;
        this.atmospheric_pressure=atmosphericPressure;
        this.rainfall=rainfall;
        this.wind_speed=windSpeed;
        this.wind_direction=windDirection;
        this.gust = gust;
        this.time_stamp = timeStamp;
    }

    public WeatherParameters(){
        super();
    }
}
